﻿/////////////////////////////////////////////////////////////////////////////////////////////
// <copyright file="DomainScripts.cs" company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////////////////////

namespace Microsoft.LiveAtEdu.Samples.Powershell.OutlookLive
{
    /// <summary>
    /// Script names used by Domains namespace.
    /// </summary>
    internal static class DomainScripts
    {
        /// <summary>
        /// Name of script used to set bad word blocker
        /// </summary>
        internal const string BlockBadWordsScript = "Set-SupervisionPolicy -BadWordsPolicyEnabled: $true -BadWordsList:'{0}'";

        /// <summary>
        /// Name of script used to disable bad word blocker
        /// </summary>
        internal const string DisableBlockBadWordsScript = "Set-SupervisionPolicy -BadWordsPolicyEnabled: $false";

        /// <summary>
        /// Name of script used to enable/disable Outlook Web Access Instant Messaging feature
        /// </summary>
        internal const string DisableInstantMessagingScript = "set-owamailboxpolicy -Identity:'{0}' -instantmessagingenabled:$false";

        /// <summary>
        /// Name of script used to enable/disable Outlook Web Access Text Messaging feature
        /// </summary>
        internal const string DisableTextMessagingScript = "set-owamailboxpolicy -Identity:'{0}' -textmessagingenabled:$false";

        /// <summary>
        /// Name of script used to enable/disable Outlook Web Access Instant Messaging feature
        /// </summary>
        internal const string EnableInstantMessagingScript = "set-owamailboxpolicy -Identity:'{0}' -instantmessagingenabled:$true";

        /// <summary>
        /// Name of script used to enable/disable Outlook Web Access Text Messaging feature
        /// </summary>
        internal const string EnableTextMessagingScript = "set-owamailboxpolicy -Identity:'{0}' -textmessagingenabled:$true";

        /// <summary>
        /// Name of script used to get mailbox policy
        /// </summary>
        internal const string GetMailboxPolicyScript = "Get-OwaMailboxPolicy -identity {0}";

        /// <summary>
        /// Name of script used to view the blocked bad words
        /// </summary>
        internal const string ListBadWordsScript = "Get-SupervisionPolicy -DisplayDetails";
    }
}
